import { createRoot } from "react-dom/client";
import { createHashRouter, RouterProvider } from "react-router";
import router from "./routes/main";
import { router as autoRouter } from "./routes/index";

createRoot(document.getElementById("root")!).render(
  <RouterProvider router={autoRouter} />
);
